extends "../yikaluosi-2/yikaluosi-2.gd"


func _extInit():
	._extInit()
	attInfox.spd += 0.5
	lv = 3             #等级的设置
	addSkill("本回合[非召唤]友军彻底阵亡时，召唤一个继承自身装备、属性的镜像", "愿景")

func _onCharaDel(cha):
	._onCharaDel(cha)
	if isSumm or isDeath:return
	if cha.team == team and (not cha.isSumm or upgraded == 2 and cha.has_method("duliSk3")):
		if team == 2 and sys.rndPer(80):return
		var summ = summChara("yikaluosi-mirror%d"%lv, true)
		summ.fromJson(toJson(), false)